home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- // This program demonstrates the controls in the Plumber Custom Control Pack
- // 1. To see just how easy it is to add and use these controls in your app,
- // look for the lines of code ending in or surrounded with the comments,
- // " <--- Added."
- //---------------------------------------------------------------------------
-
- #ifndef __PLPAK1__
- #define __PLPAK1__
-
- #include <EditDate.h> // <--- Added
-
- class CPlumberPack1 : public CWinApp
- {
- public:
- virtual BOOL InitInstance();
- };
-
- class CDlgWindow : public CDialog
- {
-
- private:
- CEditDate m_EditDate; // <--- Added
- CEditDate m_ComboDate; // <--- Added
- CEditDate m_ScrollDate; // <--- Added
-
- public:
- CDlgWindow();
-
- protected:
- virtual void OnCancel ();
-
- //{{AFX_MSG(CDlgWindow)
- afx_msg void OnWithCombo(); // <--- Added
- afx_msg void OnWithScroll(); // <--- Added
- afx_msg LRESULT OnDateChanged (WPARAM WParam, LPARAM LParam); // <--- Added
- afx_msg void OnClose();
- afx_msg void OnExit();
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- virtual BOOL OnInitDialog();
- afx_msg void OnHelp();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
-
- };
-
- #endif
-
-
-